package com.hcj.springcloud.StatePattern;

public class StopState implements State {

    @Override
    public void doAction(Context context) {
        System.out.println("StopState::doAction() 暂停");
        context.setState(this);
    }

    @Override
    public String toString() {
        return "Stop State";
    }
}
